source /etc/profile
jps | awk '{ if( $2 == "nimbus" || $2 == "supervisor" ||  $2 == "core" ) print $1 }' |xargs kill -s 9
cat /export/servers/onekey/storm/slave | while read line
do
{
 echo $line
 ssh $line "source /etc/profile;jps |grep "Supervisor" |cut -c 1-4 |xargs kill -s 9"
}&
wait
done 
